package org.lqq.client;

import feign.Body;
import feign.Param;
import feign.RequestLine;
import org.lqq.remoteClient.RemoteServerName;

import java.util.Map;

/**
 * Created by 李清泉 on 2017/10/26.
 *
 * @remark
 */
@RemoteServerName("mvc")
public interface TestInteface {

    @RequestLine("POST /account")
    @Body("id={id}")
    Map getAccountInfo(@Param("id") String id);


    @RequestLine("GET /account?id={id}")
    Map testGet(@Param("id") String id);


}
